package cz.worktracker.enums;

/**
 * Enum for data sets beans.
 * Constants with default values.
 * @author pagac
 */
public enum DataSetsEnum {

    ITEMS_PER_PAGE_DEFAULT ( 4 ),
    ITEMS_PER_PAGE_INCREMENT ( 2 ),
    SORT_BY_FIELD ( "name" ),
    SORT_DIRECTION ( "asc" ),
    ITEMS_MAX_RECENT_TIMERS ( 8 );

    private int value;
    private String string_value;

    private DataSetsEnum(int value) {
        this.value = value;
    }

    private DataSetsEnum(String value) {
        this.string_value = value;
    }

    public String getStringValue() {
        return this.string_value;
    }

    private void setStringValue(String value) {
        this.string_value = value;
    }

    public int getValue() {
        return value;
    }

    private void setValue(int value) {
        this.value = value;
    }

    @Override
    public String toString() {
        // nothing hear
        return "Not implemented yet.";
    }

}
